﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;
namespace BUS
{
    public class NhanVienBUS
    {
        private NhanVienDTO info = new NhanVienDTO();
        private NhanVienDAO data = new NhanVienDAO();
        public bool KiemTraDangNhap(string manv, string mk)
        {
            NhanVienDAO dao = new NhanVienDAO();
            return dao.KiemTraDangNhap(manv, mk);
        }

        public NhanVienDTO GetThongTinNhanVien(string manv)
        {
            return data.GetThongTinNhanVien(manv);
        }
    }
}
